package com.zby.lease.model.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dromara.autotable.annotation.AutoTable;

@Data
@Schema(description = "公寓标签")
@TableName(value = "apartment_label")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@AutoTable
public class ApartmentLabel extends BaseEntity{
private static  final long serialVersionUID = 1L;
@Schema(description = "公寓id")
@TableField(value = "apartment_id")
private Long apartmentId;
@Schema(description = "标签id")
@TableField(value = "label_id")
private Long labelId;
}
